<!-- HTML header for doxygen 1.9.1-->
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <meta name="generator" content="Doxygen 1.9.4" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>NumCpp: nc::Slice Class Reference</title>
    <link href="tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
    <!-- ... other metadata & script includes ... -->
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeDarkModeToggle.init()
    </script>
    <script type="text/javascript"
        src="../doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeFragmentCopyButton.init()
    </script>
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-paragraph-link.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeParagraphLink.init()
    </script>
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-interactive-toc.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeInteractiveToc.init()
    </script>
</head>
<body>
    <div id="top">
        <!-- do not remove this div, it is closed by doxygen! -->
        <div id="titlearea">
            <table cellspacing="0" cellpadding="0">
                <tbody>
                    <tr style="height: 56px;">
                        <td id="projectlogo"><img alt="Logo" src="NumCppLogoDoxygen.png" /></td>
                        <td id="projectalign" style="padding-left: 0.5em;">
                            <div id="projectname">NumCpp
                                &#160;<span id="projectnumber">2.12.1</span>
                            </div>
                            <div id="projectbrief">A Templatized Header Only C++ Implementation of the Python NumPy Library</div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- end header part --><!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classnc_1_1_slice.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle"><div class="title">nc::Slice Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A Class for slicing into NdArrays.  
 <a href="classnc_1_1_slice.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_slice_8hpp_source.html">Slice.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeb2a7e0854fa82d97a48a5ef402d6e7c"><td class="memItemLeft" align="right" valign="top">constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#aeb2a7e0854fa82d97a48a5ef402d6e7c">Slice</a> ()=default</td></tr>
<tr class="separator:aeb2a7e0854fa82d97a48a5ef402d6e7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba1f6c8193f0a61a3f5711edd58aeba1"><td class="memItemLeft" align="right" valign="top">constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#aba1f6c8193f0a61a3f5711edd58aeba1">Slice</a> (<a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inStart, <a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inStop) noexcept</td></tr>
<tr class="separator:aba1f6c8193f0a61a3f5711edd58aeba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91177c7ea9b87318232b8d916a487d38"><td class="memItemLeft" align="right" valign="top">constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a91177c7ea9b87318232b8d916a487d38">Slice</a> (<a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inStart, <a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inStop, <a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inStep) noexcept</td></tr>
<tr class="separator:a91177c7ea9b87318232b8d916a487d38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa54f0fae63ece8ff87455e2192d8f336"><td class="memItemLeft" align="right" valign="top">constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#aa54f0fae63ece8ff87455e2192d8f336">Slice</a> (<a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> inStop) noexcept</td></tr>
<tr class="separator:aa54f0fae63ece8ff87455e2192d8f336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d518d51dad679d9a9c6938b065e38f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a4d518d51dad679d9a9c6938b065e38f8">makePositiveAndValidate</a> (<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inArraySize)</td></tr>
<tr class="separator:a4d518d51dad679d9a9c6938b065e38f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab35be40c38521a4bd9b3c99b3d33731"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#aab35be40c38521a4bd9b3c99b3d33731">numElements</a> (<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inArraySize)</td></tr>
<tr class="separator:aab35be40c38521a4bd9b3c99b3d33731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd66bc2d5f975f986e62230b124ae607"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#afd66bc2d5f975f986e62230b124ae607">operator!=</a> (const <a class="el" href="classnc_1_1_slice.html">Slice</a> &amp;inOtherSlice) const noexcept</td></tr>
<tr class="separator:afd66bc2d5f975f986e62230b124ae607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a769815d8fbb98ba34101c18a21efbbf5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a769815d8fbb98ba34101c18a21efbbf5">operator==</a> (const <a class="el" href="classnc_1_1_slice.html">Slice</a> &amp;inOtherSlice) const noexcept</td></tr>
<tr class="separator:a769815d8fbb98ba34101c18a21efbbf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24c1eb77b94d3120bb02868cc965c058"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a24c1eb77b94d3120bb02868cc965c058">print</a> () const</td></tr>
<tr class="separator:a24c1eb77b94d3120bb02868cc965c058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8bc3bb19b48fd09c769fd1fa9860ed5"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#af8bc3bb19b48fd09c769fd1fa9860ed5">str</a> () const</td></tr>
<tr class="separator:af8bc3bb19b48fd09c769fd1fa9860ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31124d5f9e890f57cffb70f2f58260ad"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a31124d5f9e890f57cffb70f2f58260ad">toIndices</a> (<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inArrayDimSize)</td></tr>
<tr class="separator:a31124d5f9e890f57cffb70f2f58260ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a36ddb261d9057db4a9794b4fc46e9d3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a36ddb261d9057db4a9794b4fc46e9d3f">start</a> { 0 }</td></tr>
<tr class="separator:a36ddb261d9057db4a9794b4fc46e9d3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a112855a11aa1737b7859e3d63feb09c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a112855a11aa1737b7859e3d63feb09c4">step</a> { 1 }</td></tr>
<tr class="separator:a112855a11aa1737b7859e3d63feb09c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2d72f4ca003ed645bc82efcafee87f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#ac2d72f4ca003ed645bc82efcafee87f5">stop</a> { 1 }</td></tr>
<tr class="separator:ac2d72f4ca003ed645bc82efcafee87f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a77a83fabc556cff12223e57f4a490d7b"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_slice.html#a77a83fabc556cff12223e57f4a490d7b">operator&lt;&lt;</a> (std::ostream &amp;inOStream, const <a class="el" href="classnc_1_1_slice.html">Slice</a> &amp;inSlice)</td></tr>
<tr class="separator:a77a83fabc556cff12223e57f4a490d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A Class for slicing into NdArrays. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aeb2a7e0854fa82d97a48a5ef402d6e7c" name="aeb2a7e0854fa82d97a48a5ef402d6e7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb2a7e0854fa82d97a48a5ef402d6e7c">&#9670;&nbsp;</a></span>Slice() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr nc::Slice::Slice </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Constructor </p>

</div>
</div>
<a id="aa54f0fae63ece8ff87455e2192d8f336" name="aa54f0fae63ece8ff87455e2192d8f336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa54f0fae63ece8ff87455e2192d8f336">&#9670;&nbsp;</a></span>Slice() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr nc::Slice::Slice </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td>
          <td class="paramname"><em>inStop</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span><span class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inStop</td><td>(index not included) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aba1f6c8193f0a61a3f5711edd58aeba1" name="aba1f6c8193f0a61a3f5711edd58aeba1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba1f6c8193f0a61a3f5711edd58aeba1">&#9670;&nbsp;</a></span>Slice() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr nc::Slice::Slice </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td>
          <td class="paramname"><em>inStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td>
          <td class="paramname"><em>inStop</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inStart</td><td></td></tr>
    <tr><td class="paramname">inStop</td><td>(index not included) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a91177c7ea9b87318232b8d916a487d38" name="a91177c7ea9b87318232b8d916a487d38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91177c7ea9b87318232b8d916a487d38">&#9670;&nbsp;</a></span>Slice() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr nc::Slice::Slice </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td>
          <td class="paramname"><em>inStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td>
          <td class="paramname"><em>inStop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a>&#160;</td>
          <td class="paramname"><em>inStep</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inStart</td><td></td></tr>
    <tr><td class="paramname">inStop</td><td>(not included) </td></tr>
    <tr><td class="paramname">inStep</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4d518d51dad679d9a9c6938b065e38f8" name="a4d518d51dad679d9a9c6938b065e38f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d518d51dad679d9a9c6938b065e38f8">&#9670;&nbsp;</a></span>makePositiveAndValidate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void nc::Slice::makePositiveAndValidate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>inArraySize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Make the slice all positive and does some error checking</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArraySize</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aab35be40c38521a4bd9b3c99b3d33731" name="aab35be40c38521a4bd9b3c99b3d33731"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab35be40c38521a4bd9b3c99b3d33731">&#9670;&nbsp;</a></span>numElements()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> nc::Slice::numElements </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>inArraySize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Returns the number of elements that the slice contains. be aware that this method will also make the slice all positive!</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArraySize</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afd66bc2d5f975f986e62230b124ae607" name="afd66bc2d5f975f986e62230b124ae607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd66bc2d5f975f986e62230b124ae607">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool nc::Slice::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_slice.html">Slice</a> &amp;&#160;</td>
          <td class="paramname"><em>inOtherSlice</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Not equality operator</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherSlice</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a769815d8fbb98ba34101c18a21efbbf5" name="a769815d8fbb98ba34101c18a21efbbf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a769815d8fbb98ba34101c18a21efbbf5">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool nc::Slice::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_slice.html">Slice</a> &amp;&#160;</td>
          <td class="paramname"><em>inOtherSlice</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Equality operator</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherSlice</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a24c1eb77b94d3120bb02868cc965c058" name="a24c1eb77b94d3120bb02868cc965c058"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c1eb77b94d3120bb02868cc965c058">&#9670;&nbsp;</a></span>print()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void nc::Slice::print </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Prints the shape to the console </p>

</div>
</div>
<a id="af8bc3bb19b48fd09c769fd1fa9860ed5" name="af8bc3bb19b48fd09c769fd1fa9860ed5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8bc3bb19b48fd09c769fd1fa9860ed5">&#9670;&nbsp;</a></span>str()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string nc::Slice::str </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Prints the shape to the console</p>
<dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>

</div>
</div>
<a id="a31124d5f9e890f57cffb70f2f58260ad" name="a31124d5f9e890f57cffb70f2f58260ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31124d5f9e890f57cffb70f2f58260ad">&#9670;&nbsp;</a></span>toIndices()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> &gt; nc::Slice::toIndices </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>inArrayDimSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >Returns the indices that coorespond to the slice be aware that this method will also make the slice all positive!</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArrayDimSize</td><td>the size of the dimension that is being sliced </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a77a83fabc556cff12223e57f4a490d7b" name="a77a83fabc556cff12223e57f4a490d7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77a83fabc556cff12223e57f4a490d7b">&#9670;&nbsp;</a></span>operator&lt;&lt;</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>inOStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_slice.html">Slice</a> &amp;&#160;</td>
          <td class="paramname"><em>inSlice</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >IO operator for the <a class="el" href="classnc_1_1_slice.html" title="A Class for slicing into NdArrays.">Slice</a> class</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOStream</td><td></td></tr>
    <tr><td class="paramname">inSlice</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::ostream </dd></dl>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a id="a36ddb261d9057db4a9794b4fc46e9d3f" name="a36ddb261d9057db4a9794b4fc46e9d3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36ddb261d9057db4a9794b4fc46e9d3f">&#9670;&nbsp;</a></span>start</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> nc::Slice::start { 0 }</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a112855a11aa1737b7859e3d63feb09c4" name="a112855a11aa1737b7859e3d63feb09c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a112855a11aa1737b7859e3d63feb09c4">&#9670;&nbsp;</a></span>step</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> nc::Slice::step { 1 }</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac2d72f4ca003ed645bc82efcafee87f5" name="ac2d72f4ca003ed645bc82efcafee87f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2d72f4ca003ed645bc82efcafee87f5">&#9670;&nbsp;</a></span>stop</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#a9386099a0fdc2bc9fb0dbfde5606584d">int32</a> nc::Slice::stop { 1 }</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_slice_8hpp_source.html">Slice.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenc.html">nc</a></li><li class="navelem"><a class="el" href="classnc_1_1_slice.html">Slice</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
